package cn.kgc.vue.commons;

/**
 * @author 课工场
 * @date 2024/6/28
 * @description
 */
public enum ResponseStatus {

    SUCCESS(Const.SUCCESS,"操作成功"),
    FAIL(Const.FAIL,"操作失败"),
    ERROR(Const.ERROR,"服务器繁忙，请稍后重试!!!");

    private String message;
    private Integer code;

    ResponseStatus(Integer code,String message){

        this.code = code;
        this.message = message;

    }

    public String getMessage() {
        return message;
    }

    public Integer getCode() {
        return code;
    }
}
